package com.ecut.property_project.mapper.contract;

import com.ecut.property_project.model.contract.ContractSuite;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ContractSuiteMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ContractSuite record);

    int insertSelective(ContractSuite record);

    List<ContractSuite> selectAll();

    List<ContractSuite> selectByPage(Integer page, Integer pageSize);

    ContractSuite selectByPrimaryKey(Integer id);

    List<ContractSuite> selectByHeadId(String headId);

    int updateByPrimaryKeySelective(ContractSuite record);

    int updateByPrimaryKey(ContractSuite record);
}